﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Ewts.BaseData
{
    public partial class GoodsList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BindData();
            }
        }

        protected void BindData()
        {
            DataLib.BLL.Goods bll = new DataLib.BLL.Goods();
            DataSet ds = bll.GetAllList();
            rept.DataSource = ds;
            rept.DataBind();
        }
    }
}